cmake_minimum_required(VERSION 2.6)

project(FivePointDemo)

set(Boost_USE_MULTITHREADED  ON)
set(Boost_USE_STATIC_LIBS    ON)
find_package(Boost REQUIRED program_options system serialization filesystem )
find_package(GLFW REQUIRED)

include_directories(
   ${GLFW_INCLUDE_DIRS}
   ${Boost_INCLUDE_DIRS}
   ${BTL2_INCLUDE_DIRS}
   ${BTL2_EXTRA_INCLUDE_DIRS}
)

set(SOURCES
   main.cpp
   stewenius_test_data.cpp
   TurntableController.cpp
   DrawAxisMarker.cpp
   DrawCameraMarker.cpp
)

add_executable(FivePointDemo ${SOURCES})

target_link_libraries(FivePointDemo
   ${BTL2_LIBRARIES}
   ${BTL2_EXTRA_LIBRARIES}
   ${Boost_LIBRARIES}
   ${GLFW_LIBRARIES}
)
